package com.ybkj.o2o.zhuanche.service;

import com.ybkj.o2o.zhuanche.entity.ChartDay;
import com.ybkj.o2o.zhuanche.entity.ChartMonth;
import com.ybkj.o2o.zhuanche.entity.ChartYear;
import com.ybkj.o2o.zhuanche.entity.Order;

/**
 * Created by Administrator on 2016/12/8.
 */
public interface ChartService {
  void addDayRecord(Order order);

  ChartYear dataForYear(Integer year, Long companyId, String appKey);

  ChartMonth dataForMonth(Integer year, Integer month, Long companyId, String appKey);

  ChartDay dataForChartDay(Integer year, Integer month, Integer day, Long companyId, String appKey);

  void updateRealMoney(Order order, Double oldRealPay);
}
